package com.sinosoft.utility;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

import android.content.Context;

public class PropertiesToolFun {
	public static Properties getInitPropertiesData(Context name, String perDoc) {
		Properties properties = new Properties();
		try {
			InputStream in = name.getAssets().open(perDoc);
			properties.load(in);
		} catch (IOException e) {
			e.printStackTrace();
		}
		return properties;
	}
}
